package com.bkgy.controller.tcmReport.controller;

import com.bkgy.controller.tcmReport.service.IRepTcmOutputPlanActService;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Tag(name = "酸轧生产效率页面报表")
@Controller
@RequestMapping("/tcmReport")
@RequiredArgsConstructor
public class RepTcmOutputPlanActController {
    private final IRepTcmOutputPlanActService service;

    @Operation(summary = "酸轧生产效率分析柱形图", description = "日计划下达量与日计划产量达成率柱形图")
    @PostMapping("/findOutputPlanAct")
    @ResponseBody
    public ResultData findOutputPlanAct() {
        return service.findOutputPlanAct();
    }
}
